#ifndef __BSP_RTC_H__
#define __BSP_RTC_H__

#include <stdint.h>
#include <time.h>
#include <sys/time.h>

void sntp_sync_time(struct timeval *tv);
void get_time(uint8_t mark);

extern volatile struct tm current_time;
extern uint8_t time_mark;


#endif
